<html>
<head><meta charset="utf-8"><title>Specifying the toolchain to be used by rust-analyzer · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Specifying.20the.20toolchain.20to.20be.20used.20by.20rust-analyzer.html">Specifying the toolchain to be used by rust-analyzer</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="189666025"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Specifying%20the%20toolchain%20to%20be%20used%20by%20rust-analyzer/near/189666025" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> govardhan g.d. <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Specifying.20the.20toolchain.20to.20be.20used.20by.20rust-analyzer.html#189666025">(Mar 04 2020 at 07:01)</a>:</h4>
<p>Hello! I am using rust-analyzer with vscode. Is there a way to specify the toolchain (stable or nightly) that should be used by rust-analyzer. Better if I can do this for the specific project/directory<br>
Thanks.</p>



<a name="189667954"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Specifying%20the%20toolchain%20to%20be%20used%20by%20rust-analyzer/near/189667954" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Specifying.20the.20toolchain.20to.20be.20used.20by.20rust-analyzer.html#189667954">(Mar 04 2020 at 07:46)</a>:</h4>
<p>An override or <code>rust-toolchain</code> file should work, as far as I can tell: <a href="https://github.com/rust-lang/rustup#the-toolchain-file" target="_blank" title="https://github.com/rust-lang/rustup#the-toolchain-file">https://github.com/rust-lang/rustup#the-toolchain-file</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>